home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group96a.txt / 000075_icon-group-sender _Wed Apr 10 21:47:29 1996.msg < prev    next >
Internet Message Format  |  1996-09-05  |  2KB

  1. Received: by cheltenham.CS.Arizona.EDU; Thu, 11 Apr 1996 07:55:56 MST
  2. Date: Wed, 10 Apr 1996 21:47:29 -0500
  3. Message-Id: <199604110247.VAA10835@ns1.computek.net>
  4. Mime-Version: 1.0
  5. Content-Type: text/plain
  6. Content-Transfer-Encoding: 7bit
  7. From: gep2@computek.net
  8. Subject: How to think about Icon?
  9. To: icon-group@cs.arizona.edu
  10. X-Mailer: SPRY Mail Version: 04.00.06.17
  11. Errors-To: icon-group-errors@cs.arizona.edu
  12. Status: O
  13.  
  14. >I've made periodic stabs at learning icon for some time now, and I've
  15. come to the conclusion that it's completely unlike the languages I've
  16. learned previously.  
  17.  
  18. To say the very least!!!  You certainly CAN program Pascal-like techniques in 
  19. Icon, but it wastes Icon's wonderful talents.  I think the main thing is to 
  20. START USING Icon, using whatever algorithms you want, just to get your feet wet. 
  21.  After you're comfortable with it on a fairly "conventional" programming style, 
  22. then I think it makes sense to start looking at other example programs and try 
  23. to advance your paradigms to use the new concepts that Icon makes possible.
  24.  
  25. In the case of SNOBOL4, an excellent resource is "Algorithms in SNOBOL4" by 
  26. Gimpel, which helps demonstrate just some of the ways that SNOBOL4's marvelous 
  27. collection of unusual features can be actually employed when writing 
  28. applications.  It helps you develop a "SNOBOL4 programming mentality", and build 
  29. the reflexes for ways to attack problems using the language.
  30.  
  31. >In particular, I have no good mental model for backtracking, so I get confused 
  32. by programs which do it.  This makes Icon hard for me to take advantage of.  :)
  33.  
  34. Sure... rather like pointers, linked data structures in general, and 
  35. recursion... some things you just have to wrap your mind around, and it's not 
  36. always trivial to do that in the beginning.  Once you have more experience in 
  37. attacking real-world problems with a given language, you tend to become more 
  38. convinced about the applicability of these more advanced programming 
  39. techniques... it's a good motivator.  :-)  
  40.  
  41. Does this help?
  42.  
  43. Gordon Peterson
  44. http://www.computek.net/public/gep2/
  45.  
  46.